<template>
    <footer>
        底部 {{sumPrice}}
    </footer>
</template>

<script>
import {mapGetters} from 'vuex'
export default {
    computed:{
        ...mapGetters('shopCar',['sumPrice'])
    }
}
</script>

<style lang="scss" scoped>
    .foot{
        width:100%;
        height: 44px;
        border-top:1px solid gray;
    }
</style>

